Formation and rearrangement of ad hoc networks

ABSTRACT

Systems and methods for the formation and rearrangement of ad hoc networks and more particularly to systems and methods for sharing bandwidth in ad hoc networks. The method comprises broadcasting a table to at least one potential lender requesting pertinent lender information and receiving the table from the at least one potential lender with the pertinent lender information. The method further includes selecting one or more lenders of the at least one potential lender which meet preset criteria and establishing an ad hoc network with the one or more lenders based on the selecting.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a divisional of U.S. application Ser. No. 13/611,892, filed on Sep. 12, 2012, now U.S. Pat. No. 9,037,508, which is a divisional of U.S. application Ser. No. 11/755,775, filed on May 31, 2007, now U.S. Pat. No. 8,620,784, the content of which is incorporated by reference herein in its entirety. This application is related to the following applications, all of which are incorporated herein by reference in their entireties: application Ser. No. 11/755,808, published as U.S. Pub. No. 2008/0301017; and application Ser. No. 11/755,780, published as U.S. Pub. No. 2008/0298327.

FIELD OF THE INVENTION

The invention generally relates to systems and methods for the formation and rearrangement of ad hoc networks and more particularly to systems and methods for sharing bandwidth in ad hoc networks.

BACKGROUND OF THE INVENTION

Mobile computing is becoming increasingly pervasive, and will approach ubiquity in wireless devices (e.g., notebook computers, smart phones, personal digital assistants (PDAs), etc.) over the next decade. One consistent trend in this mobile computing space is the fact that such platforms increasingly communicate over a variety of wireless protocols. Common protocols in use today for wireless data transfer include EV-DO, IEEE 802.11a/b/g, ZigBee® (registered trademark of ZIGBEE ALLIANCE of California), Bluetooth® (registered trademark of BLUETOOTH SIG, INC. of Delaware), and many other related protocols. By their very nature, differentials do exist, and will continue to exist, between the speed, or bandwidth, with which mobile devices can communicate with each other, vis-à-vis communications speeds with the broader network where a device's target data may reside.

It is often the case that a wireless device will have a relatively fast wireless connection to other local devices and a relatively slow wireless connection to the broader network (e.g., the Internet). For example, local wireless connections, provided by protocols such as IEEE 802.11a, 802.11b, 802.11g, 802.15.1 (e.g., Bluetooth®), and 802.15.4 (e.g., Zigbee®) provide fast data transfer rates of about 3 to 54 megabits per second (Mbps). However, such transfer protocols often have a limited maximum transmission range of about 30 to 300 ft. On the other hand, wireless telephony protocols (e.g., EV-DO, CDMA, EDGE, GPRS, etc.) have relatively large maximum transmission ranges on the order of miles, but only provide data transfer rates of about 10 kilobits per second (kbps) to 1 Mbps. Thus, while a user of a mobile device may enjoy relatively fast data transfer amongst local devices, the user is often limited to a slow wireless connection to the outside world (e.g., the Internet).

Accordingly, there exists a need in the art to overcome the deficiencies and limitations described hereinabove.

SUMMARY OF THE INVENTION

In a first aspect of the invention, a method comprises broadcasting a table to at least one potential lender requesting pertinent lender information and receiving the table from the at least one potential lender with the pertinent lender information. The method further includes selecting one or more lenders of the at least one potential lender which meet preset criteria and establishing an ad hoc network with the one or more lenders based on the selecting.

In another aspect of the invention, the method for forming and rearranging an ad hoc network, comprises providing a computer infrastructure being operable to establish an ad-hoc network between a borrower and at least one lender of bandwidth by broadcasting and tabulating a table with pertinent lender and borrower information, and to select the at least one lender for the ad hoc network based on pertinent information of the at least one lender which matches criteria.

In another aspect of the invention, a computer program product comprising a computer usable medium having readable program code embodied in the medium is provided. The computer program product includes at least one component to: broadcast a table to at least one potential lender requesting pertinent lender information; receive the table from the at least one potential lender with the pertinent lender information; select one or more lenders of the at least one potential lender which meet preset criteria; and establish an ad hoc network with the one or more lenders based on the selecting.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an illustrative environment for implementing the steps in accordance with the invention;

FIG. 2A is an overview of a peer-to-peer ad hoc network;

FIG. 2B is an overview of an alternative peer-to-peer ad hoc network;

FIG. 3 is an overview of an ad hoc network implementing services of a multiplexer;

FIG. 4 shows an example table created and used in implementing aspects of the invention;

FIG. 5 is a flow chart of steps for implementing aspects of the invention;

FIG. 6 is a flow chart of steps for implementing aspects of the invention;

FIG. 7 is a flow chart of steps for implementing aspects of the invention; and

FIG. 8 is an interface used in accordance with aspects of the invention.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

The invention generally relates to systems and methods for the formation and rearrangement of ad hoc networks. More particularly, the present invention is directed to systems and methods for the formation and rearrangement of ad hoc networks to aggregate bandwidth for increased data transfer. The present invention can be implemented in either a peer-to-peer environment or a multiplexed environment. In a multiplexed environment, the multiplexer may be either within the ad hoc network, or outside of the ad hoc network.

By implementing the methods and systems of the invention, e.g., the formation and rearrangement of a bandwidth-sharing ad hoc network, multiple disparate wireless connections in conjunction with multiple devices using a variety of service providers, for example, can be used to create a single virtual fat pipe for transmission of data over a network. The individuals who share their current connections, i.e., bandwidth, acting as gateway devices, are ‘lenders’ of bandwidth; whereas, the individuals who require additional bandwidth are ‘borrowers’. By implementing the systems and methods of the invention, lenders and borrowers are able to quickly establish, and modify, ad hoc networks based on quality of service, price, availability or other criteria.

System Environment

FIG. 1 shows an illustrative environment 10 for managing the processes in accordance with the invention. To this extent, the environment 10 includes a computer infrastructure 12 that can perform the processes described herein. In particular, the computer infrastructure 12 includes a computing device 14 that comprises a management system 30, which makes computing device 14 operable to perform the formation and rearrangement of bandwidth-sharing ad hoc networks in accordance with the invention, e.g., process described herein. The computing device 14 includes a processor 20, a memory 22A, an input/output (I/O) interface 24, and a bus 26. The memory 22A can include local memory employed during actual execution of program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution. Further, the computing device 14 is in communication with an external I/O device/resource 28 and a storage system 22B. The external I/O device/resource 28 may be keyboards, displays, pointing devices, etc.

In general, the processor 20 executes computer program code, which is stored in memory 22A and/or storage system 22B. While executing computer program code, the processor 20 can read and/or write data to/from memory 22A, storage system 22B, and/or I/O interface 24. The bus 26 provides a communications link between each of the components in the computing device 14. The I/O device 28 can comprise any device that enables an individual to interact with the computing device 14 or any device that enables the computing device 14 to communicate with one or more other computing devices using any type of communications link.

The computing device 14 can comprise any general purpose computing article of manufacture capable of executing computer program code installed thereon (e.g., a personal computer, server, handheld device, etc.). However, it is understood that the computing device 14 is only representative of various possible equivalent computing devices that may perform the processes described herein. To this extent, in embodiments, the functionality provided by computing device 14 can be implemented by a computing article of manufacture that includes any combination of general and/or specific purpose hardware and/or computer program code. In each embodiment, the program code and hardware can be created using standard programming and engineering techniques, respectively.

Similarly, the computer infrastructure 12 is only illustrative of various types of computer infrastructures for implementing the invention. For example, in embodiments, the computer infrastructure 12 comprises two or more computing devices (e.g., a server cluster) that communicate over any type of communications link, such as a network, a shared memory, or the like, to perform the process described herein. Further, while performing the processes described herein, one or more computing devices in the computer infrastructure 12 can communicate with one or more other computing devices external to computer infrastructure 12 using any type of communications link. The communications link can comprise any combination of wired and/or wireless links; any combination of one or more types of networks (e.g., the Internet, a wide area network, a local area network, a virtual private network, etc.); and/or utilize any combination of transmission techniques and protocols.

In embodiments, the invention provides a business method that performs the steps of the invention on a subscription, advertising, and/or fee basis. That is, a service provider, such as a Solution Integrator, could offer to perform the processes described herein. In this case, the service provider can create, maintain, deploy, support, etc., a computer infrastructure that performs the process steps of the invention for one or more customers. In return, the service provider can receive payment from the customer(s) under a subscription and/or fee agreement and/or the service provider can receive payment from the sale of advertising content to one or more third parties.

General Overview of Ad Hoc Networks

“Ad hoc” relationships are becoming increasingly important in the communal sharing of immediately available resources, and most particularly, the sharing of bandwidth. With the creation of peer-to-peer networks and bit torrent type services a file may be stored in a large number of locations to allow very fast download of the file in sections simultaneously from multiple locations. Groups of devices may congregate, or coexist, in one place and each may have limited bandwidth to the outside world. However, the groups of devices may have high bandwidth to other devices within close proximity. An example is a 802.11g local area connection that creates a high-speed wireless connection between two cellular phone devices within close range (high bandwidth), and wherein the cellular phones' cellular connection to the outside world may provide bandwidth at less than one percent of the 802.11g connection.

In embodiments of the invention, a bandwidth-sharing ad hoc network is formed between a borrower and one or more lenders in a peer-to-peer environment. In embodiments, the bandwidth-sharing ad hoc network can be formed between a borrower and one or more lenders in a multiplexed environment, where the multiplexer is within or outside the ad hoc network. In further embodiments, the borrower or multiplexer may rearrange the bandwidth-sharing ad hoc network when a particular lender is no longer available or a lender is no longer performing at a predetermined level of service.

In order to utilize the formation and rearrangement schemes of bandwidth-sharing networks, an ad hoc network may be created between a borrower node and one or more lender nodes. This process may include both an initial discovery mechanism of the proposed role each node may play, and a negotiation and acceptance of the agreed compensation scheme.

FIG. 2A is a general overview of a non-multiplexed, peer-to-peer (P2P) bandwidth sharing architecture which may be implemented with the systems and methods of the invention. An illustrative non-multiplexed, peer-to-peer (P2P) bandwidth sharing architecture is set forth in co-pending application Ser. No. 11/755,808.

In this implementation, a borrower B may request information, e.g., transfer of files, from a central location, CL (or distributed locations). To increase its bandwidth capacity, the borrower B may request bandwidth from any of the lenders, L₁ or L₂ via any known wireless protocol. By way of example, upon a broadcast request from the borrower B, any of the lenders, L₁ or L₂ may allow the borrower B to use their excess bandwidth for file transfers with the central location, CL (or distributed locations). Upon authorization, the lenders, via a wireless protocol, for example, will download information from the central locations, CL (or distributed locations), and send this information to the borrower, B, thus effectively increasing the borrower's bandwidth. It should be understood that data could be transferred from distributed locations, rather than the central location, CL.

FIG. 2B is a general overview of a multiple source ad hoc network. In this implementation, a borrower B may request information, e.g., transfer of files, from distributed locations DL₁ and DL₂. Each distributed location DL₁ and DL₂ has a same copy of the requested data, and L₁ connects to DL₁ and L₂ connects to DL₂.

FIG. 3 is a general overview of a multiplexed gateway bandwidth sharing architecture which may be implemented with the invention. An illustrative multiplexed, gateway bandwidth sharing architecture is set forth in co-pending application Ser. No. 11/755,780. In this implementation, a borrower B will request a multiplexer M to set up an ad-hoc network. The multiplexer M may communicate with a service provider SP and connect to one or more lenders, L₁ and L₂, via a wireless network. In this implementation, the borrower may initially broadcast a message for lenders and, upon receipt of a response, transmit the lender locations and other criteria to the multiplexer. Once a network is established, the multiplexer will manage the network, including the bandwidth allocations provided by each of the lenders, for example.

Initial Formation of the Ad Hoc Network

In order to form a new ad hoc network, a borrower may scan all available potential lenders and prioritize the potential lenders for a data transfer. The formation of the ad hoc network, in embodiments, may use a ‘borrower/lender’ table as shown in FIG. 4. In this example, the borrower or multiplexer will broadcast the table to potential lenders which, in turn, will return the table, with information pertinent to the lender, to the borrower or the multiplexer. Using this information, the borrower or lender can establish an ad hoc network with lenders that meet certain criteria, e.g., reliability, speed, availability and/or costs.

In the borrower/lender table of FIG. 4, the “Node Name” column may be the unique identifier of a node such as the borrower and lenders. For example, this could be a hostname, a Bluetooth® name (Bluetooth are trademarks of Bluetooth Sig, Inc. in the United States, other countries, or both) name or any other information that can uniquely describe the node. The “Node Type” column may describe whether this node is a borrower, a lender, or a multiplexer. The “Location” column may be an IP address, Wi-Fi address, Bluetooth address, MAC address or any other attribute that can be used to locate the node. The “File Requested for Transfer” column may be used to store information about the file (or piece of file) to be transferred. This may be an HTTP address, an FTP address or other information to describe where and how the data is to be found.

The “Price” column may be a price set by the lender to use the lender's bandwidth. The price may be stated in price/MB, number of minutes to be used in a wireless service plan or any other charging mechanism. The “Service Level Objective” column may describe the negotiated service levels of the node. For example, the requested bandwidth, the availability of the node, reliability and so forth. Additionally, the “Service Level Objective”, may contain reliability information, such as the ability to provide a bandwidth amount for a period of time, or a bandwidth amount within a range of bandwidth (i.e., between 1 kb/second and 2 kb/second). The “Current Quality of Service” column may contain the current quality of service (QoS) of the node. The QoS information may contain a status of the node, e.g., how well the service levels are being met, the current transfer rate, or the current progress of the file download.

In aspects of the invention, a borrower and a lender may not see all of the table on their respective devices, and some of the table information may be generated automatically. The user interface may require less display space and may require less user input. For example, the location of a lender's device or borrower's device may be known by the device itself. Thus, the user may not need to complete this portion of the table. Rather, the information for that portion of the table would be automatically completed by the device. Furthermore, the automatic generation of the information in the table may also apply to the Node Type, Node Name, Service Level Objective, Price and Current Quality of Service columns. For example, a borrower may have preset levels of service level objectives that they require whenever they borrow bandwidth, so that generation of the Service Level Objective column may be performed automatically by the borrower's device. Additionally, a potential lender may have a set price for lending bandwidth already input into their device, such that the Price column information is automatically generated.

A borrower may, for example, initially generate the table by clicking on an icon, and when prompted, input the File Requested for Download information. The borrower's device could generate the remaining portions of the information in the table. When a potential lender receives the borrower's request, their device may simply prompt for a decision to be a lender. If the potential lender answers “yes”, then their device may prompt the potential lender for a price. As set forth above, the rest of the information in the table may be generated automatically.

Flow Diagrams

The steps of the flow diagrams described herein may be implemented in the environment of FIG. 1 to provide formation and rearrangement instructions for forming and rearranging bandwidth-sharing ad hoc networks. In each of the embodiments, described below, a bandwidth sharing agreement may be reached on data, quality of service (QoS) and associated costs between borrowers, lenders and/or multiplexers.

The flow diagrams may equally represent high-level block diagram of the invention. The steps of the flow diagrams may be implemented and executed from either a server, in a client server relationship, or they may run on a user workstation with operative information conveyed to the user workstation. Additionally, the invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In an embodiment, the software elements include firmware, resident software, microcode, etc.

Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. The software and/or computer program product can be implemented in the environment of FIG. 1. For the purposes of this description, a computer-usable or computer readable medium can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.

Bandwidth-Sharing Ad Hoc Network in a Non Multiplexed, Peer-to-Peer Environment

FIG. 5 shows a flow chart for forming and rearranging a bandwidth-sharing ad hoc network in a non multiplexed, peer-to-peer environment. When initially forming the ad hoc network, a borrower may initiate or substantiate the borrower/lender table of FIG. 4. For example, a node ‘Borrower 1’ may initially create the table of FIG. 4 in order to create an ad hoc network to transfer a large piece of data from the Internet.

As shown in the flow chart of FIG. 5, at step 100, the borrower, completes one line of a new table to describe their node. At this step, the node name, type, location and file requested columns may be completed. For example, as shown in TABLE 1, Borrower 1 would complete the table showing current location on a Wi-Fi Network called ‘Airport’, with IP address 192.168.2.3, to download a file from http://location.com/myfile. At this point, the other columns may remain blank.

TABLE 1 File Service Current Node Requested for Level Quality of Name Node Type Location Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3

At step 101, the borrower broadcasts a request to form an ad hoc network. This broadcast, in embodiments, includes the table for completion by any available nodes within range that could be used to form the ad hoc network. The table may be broadcast over the wireless network using a plurality of different protocols such as Bluetooth®, Wi-Fi or Cellular. The table can be represented in binary, xml, text or other data format optimized for the type of data transport.

At step 102, a node receives the broadcast, including the table. At step 103, the potential lender completes necessary information in the table. For example, as shown in TABLE 2, below, Lender 1 is a node on the same Wi-Fi network ‘Airport’ and is able to perform lender functions for $5/MB at a rate of 1 kb/second. The “File Requested for Transfer” column may remain blank, because the borrower has not yet decided which of the potential lenders will be part of the bandwidth-sharing ad hoc network. Additionally, the “Current Quality of Service” column may remain blank, because no bandwidth sharing has occurred yet.

TABLE 2 File Service Current Node Requested for Level Quality of Name Node Type Location Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Lender 1 Lender Wi-Fi NA $5/MB Can NA network download ‘AIRPORT’ at 1 kb/sec IP Address: 192.168.2.10

Lender 1, at step 104, may send back this information to Borrower 1. The processes, at steps 103 and 104, may be repeated for other potential lenders of bandwidth in the ad hoc network. In this manner, the table may gradually be built up such that borrower can select lenders to use.

For example, as shown below in TABLE 3, additional nodes, Lender 2 and Lender 3, provided the information for each lender, and this information has been tabulated by the borrower, upon receipt. In this example, Lender 2 is on a Bluetooth Network and can download the file requested for transfer at a price of $10/MB and a rate of 2 kb/second. Additionally, Lender 3, is on some other protocol, and can download the file requested for transfer at a price of $10/MB and a rate of 5 kb/second.

TABLE 3 File Requested Service Current Node for Level Quality of Name Node Type Location Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Lender 1 Lender Wi-Fi NA  $5/MB Can NA network download ‘AIRPORT’ at 1 kb/sec IP Address: 192.168.2.10 Lender 2 Lender Bluetooth NA $10/MB Can NA name download Pairing key: at 2 kb/sec 1234 Lender 3 Lender Other NA $10/MB Can NA Protocol download ‘XXX’ at 5 kb/sec Name: 19283

At step 105, the borrower may browse through the formulated table to determine which lenders should be part of the bandwidth-sharing ad hoc network. By way of example, using a combination of “Service Level Objectives” and “Price”, Borrower 1 may decide how many lenders to use and at what cost. For example, if ‘myfile’ is 10 Mb, then the options may be:

-   -   1. use Lender 1 only at a cost of $50;     -   2. use Lender 1 for ⅓ of the file and Lender 2 for ⅔ of the file         (so that they finish together); or     -   3. any other combination.         The borrower may then select the best number of lenders and file         chunks such that the price remains low and the speed is fairly         fast.

At step 106, using option (2), set forth above, for example, the Borrower 1 may then send out the table to both Lender 1 and Lender 2 with the following information of TABLE 4.

TABLE 4 File Service Current Node Requested Level Quality of Name Node Type Location for Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Lender 1 Lender Wi-Fi http://location.com/myfile  $5/MB Can NA network first 33% download ‘AIRPORT’ at 1 kb/sec IP Address: 192.168.2.10 Lender 2 Lender Bluetooth http://location.com/myfile $10/MB Can NA name last 66% download ‘Motorola’ at 2 kb/sec Pairing key: 1234 In this example, Borrower 1 is requesting that Lender 1 transfer the first ⅓ of the file requested for download, ‘myfile’, and requesting that Lender 2 transfer the second ⅔ of the file, ‘myfile’.

At step 107, using the above example, Lender 1 and Lender 2 may receive the table and start to execute the command and begin to transmit the data. In one example, Lender 1 may start to download the first ⅓ of file ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network. Lender 2 may start to download the last ⅔ of ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network.

The lenders may also periodically send QoS update information to the borrower. More specifically, as well as streaming the data (i.e., the respective portions of ‘myfile’) back to the borrower, on a scheduled basis (e.g., once every 10 seconds) the lenders may send update information to the borrower with progress information such that the “Current Quality of Service” column may be updated. The scheduled basis for the QoS update information may be configurable to different interval times. This QoS update information may include a current download rate (e.g., currently 1.3 kb/second) and a current download progress (e.g., the requested download is 65% complete).

Using the update information in the “Current Quality of Service” column, the borrower may make a determination as to how well a particular lender is performing. The table, for example, may then be updated with the following information, as shown in TABLE 5.

TABLE 5 File Service Current Requested Level Quality of Node Name Node Type Location for Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Lender 1 Lender Wi-Fi http://location.com/myfile  $5/MB Can Current network first 33% download download ‘AIRPORT’ at 1 kb/sec at 1 kb/sec; IP Address: download 192.168.2.10 50% complete Lender 2 Lender Bluetooth http://location.com/myfile $10/MB Can Current name last 66% download download ‘Motorola’ at 2 kb/sec at 1.3 kb/sec; Pairing key: download 1234 65% complete

In this example, Borrower 1 will receive the QoS update information indicating that Lender 1 is downloading at their advertised service level objective (1 kb/second) and that the download of the first ⅓ of ‘myfile’ is 50% complete. Additionally, in this example, Borrower 1 will receive the QoS update information informing him that Lender 2 is not downloading at their initially agreed upon service level objective and that the download of the second ⅔ of ‘myfile’ is 65% complete. In this example, Lender 2 initially agreed that they could download at a rate of 2 kb/second, but the current rate is only 1.3 kb/second.

As a borrower is borrowing bandwidth from lenders, utilizing a bandwidth-sharing ad hoc network, situations may arise where the borrower may wish to change the lenders of bandwidth. For example, the borrower may want to change a lender because the lender node has become unavailable as a lender within the bandwidth-sharing ad hoc network. Additionally, the borrower may want to change a lender because that lender is not performing at an initially agreed upon objective of service (under-performing lender).

In the event that the borrower does not receive QoS update information (or data transfer) at the scheduled time, at step 108, the borrower may perform one or more of the following options:

-   -   1. wait a predetermined amount of time (grace period) (step         109);     -   2. send a message to the lender to determine their availability         (step 110), (e.g., “Are you still there? Please check-in.”); or     -   3. determine that the lender is unavailable at step 111, at         which time, the process may continue to step 112.         Optionally, the process may wait a grace period, and upon         expiration of the grace period, continue with step 110 or         declare that the lender is unavailable at step 111. In the event         that the QoS update information (or data transfer) restarts         during the grace period or after prompting from the borrower at         step 110, the process will continue at step 115.

In the examples provided, if the lender is determined to be unavailable at step 110, the borrower may remove the unavailable lender from the table, at step 111, and revise the “File Requested for Download” column for one of the other lenders at step 112. This may include requesting additional data from the existing lenders. The borrower may make a note of how much data has been transferred from the unavailable lender in order to make a determination as to how much data remains to be transferred. The flow will then return to step 105.

As a further option, the borrower may perform another broadcast, at step 113, to identify new lenders to add to the table to replace the deleted lender. This can be performed by reverting back to step 101, at which stage the allocations of bandwidth can be determined between current lenders and/or potential new lenders.

At step 115, a determination is made as to whether the lenders are meeting their QoS objectives. If so, the process continues at step 117. At step 117, a determination is made as to whether the download is complete. If not, the process reverts back to step 107. If the download is complete, the process ends at step 118.

If the determination at step 115 is made that the lender(s) is not meeting the QoS objectives, the process continues to steps 116 or 120. That is, in the event that the lender is not performing at an initially agreed upon service level objective (i.e., the quality of current service drops lower than the service level objectives), the borrower may stop using the under-performing lender or renegotiate the compensation given to the lender for the bandwidth.

As an example, if the current quality of service drops below the service level objectives, the borrower may introduce a different charging plan (price) for the under-performing lender (step 116), or stop using the under-performing lender (step 120) and revise the request to the other lenders to continue the download of data, including the data which was previously being downloaded by the unavailable lender (step 112), rebroadcast the table to find a different lender (step 113), or some combination of these options. At any of these steps, in embodiments, the borrower may make a note of how much data has been transferred from the under-performing lender and determine how much data still remains to be transferred.

Multiplexer(s) in the Ad Hoc Network

In a multiplexed environment, the use of a multiplexer may be more viable than the borrower, itself, managing multiple separate lenders. The addition of the multiplexer may allow more functionality to be pushed to the multiplexer, such that the borrower may need to only use the multiplexer to receive information about which lenders to use. In this manner, the multiplexer acts as a gateway for a borrower such that the management of file chunking and distribution of data to each lender may be performed by the multiplexer. Thus, the multiplexer has the job of managing associated lenders and directing separate data streams back to the borrower. The multiplexer may charge a fee for this service.

In a first scenario, the multiplexer may be a member of the local ad hoc network, capable and willing to serve as a multiplexer (i.e., has a large bandwidth connection to the Internet, or some other network, and is an intelligent device capable of performing the multiplexing functions). In a second scenario, the multiplexer may be a multiplexer service, for example an online multiplexer service which is outside of the network.

FIG. 6 shows a flow chart for forming and rearranging a bandwidth-sharing ad hoc network in a multiplexed environment. In this embodiment, the multiplexer is within the ad hoc network. At step 200, the borrower may initially complete the table as discussed above. At step 201, the borrower broadcasts a request for lenders. At step 202, a multiplexer (e.g., lender) within the ad hoc network may receive the broadcasted table. At step 203, the multiplexer completes a portion of the table, as shown in TABLE 6, below.

TABLE 6 File Requested Service Current for Level Quality of Node Name Node Type Location Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Multiplexer 1 Multiplexer Wi-Fi NA $15/MB Can NA network download ‘AIRPORT’ at 1 Mb/sec IP Address: 192.168.2.300

At step 204, the multiplexer responds to the borrower's broadcasted table with the above information, for example. In this scenario, the multiplexer may act as a “single” lender from the point of view of the borrower. The multiplexer has the job of managing its own table with each lender and provides an aggregated view back to the borrower. Additionally, a multiplexer within an ad hoc network may broadcast their ability to be a multiplexer continuously, rather than responding to a broadcasted request from a borrower. In this scenario, a multiplexer may be proactive in seeking out those borrowers in need for a multiplexer, rather than waiting for a borrower to broadcast a need to them.

Using this example, if Borrower 1 decides to use Multiplexer 1, at step 205, Multiplexer 1 may broadcast to the potential nodes in the ad hoc network, a need for lenders so that the table may be completed by the potential lenders. By way of illustration, the multiplexer may scan the nearby lenders and broadcast a message to the nearby lenders in the local ad hoc network requesting bandwidth, at step 206. The available, or potential, lenders may complete the appropriate columns of the table, at step 207. The potential lenders may respond back to the multiplexer, at step 208. The multiplexer may decide which of the potential lenders to use, and how to apportion the file to be downloaded, at step 209. The multiplexer may initiate the download, at step 210, by sending a table to each of the selected lenders, assigning a portion of the file to be downloaded to each lender, and may instruct each of the lenders to send their respective downloaded portion to the borrower.

In an example implementing the above steps, Borrower 1 may request that an entire file be downloaded at a set cost (e.g., $15/MB). Multiplexer 1 then determines which lenders to use based on the list of lenders and the set cost of the borrower. Multiplexer 1 then “owns” the responsibility to have the service level objectives met even if more lenders are needed. In this example, multiplexer 1 identifies two lenders, Lender 1 and Lender 2. In embodiment, the multiplexer may send back the following table, TABLE 7, to the borrower and to the two lenders.

TABLE 7 Service Current File Requested Level Quality of Node Name Node Type Location for Transfer Price Objective Service Borrower 1 Borrower Wi-Fi http://location.com/myfile NA NA NA network ‘AIRPORT’ IP Address: 192.168.2.3 Multiplexer 1 Multiplexer Wi-Fi http://location.com/myfile $15/MB Can NA network first 33% - Use download ‘AIRPORT’ Lender 1; at 1 Mb/sec IP Address: http://location.com/myfile 192.168.2.300 last 66% - Use Lender 2

At step 211, using the above example, Multiplexer 1 may be responsible for breaking up the ‘myfile’ into two pieces and communicating with each of the lenders such that they know the location of the file chunks. The borrower may perform the functions required by the multiplexer in order to initiate and complete the download. In the above example, at step 212, Borrower 1 may connect to Lender 1 and Lender 2 and start to transfer the file from both—first ⅓ from Lender 1 and second ⅔ from Lender 2.

If the quality of service does not meet the service level objective, it is the responsibility of the multiplexer, not borrower, to fix the problem. At step 212, the lenders may receive the table and start to execute the command and begin to transmit the data. The lenders may also periodically send QoS update information to the multiplexer. In one example, Lender 1 may start to download the first ⅓ of file ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network. Lender 2 may start to download the last ⅔ of ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network.

As to the QoS update information, the lenders, on a scheduled basis (e.g., once every 10 seconds) may send update information to the Multiplexer with progress information such that the “Current Quality of Service” column is updated. The scheduled basis for the QoS update information may be configurable to different interval times. This QoS update information may include a current download rate (e.g., currently 1.3 kb/second) and a current download progress (e.g., the requested download is 65% complete). Using the update information in the “Current Quality of Service” column, the multiplexer may make a determination as to how well a particular lender is performing.

In the event that the multiplexer does not receive QoS update information (or data transfer) at the scheduled time, at step 213, the multiplexer may perform one of the following options:

-   -   1. wait a predetermined amount of time (grace period) (step         309);     -   2. send a message to the lender to determine their availability         (step 310), (e.g., “Are you still there? Please check-in.”); or     -   3. determine that the lender is unavailable at step 311, at         which stage, the process may continue to step 312.         Optionally, the process may wait a grace period, and upon         expiration of the grace period, continue with step 310 or         declare that the lender is unavailable at step 311. In the event         that the QoS update information (or data transfer) restarts         during the grace period or after prompting from the multiplexer         at step 310, the process will continue at step 315.

In the examples provided, if the lender is determined to be unavailable at step 310, the multiplexer may remove the unavailable lender from the table, at step 311, and revise the “File Requested for Download” column for one of the other lenders at step 312. This may include requesting additional data from the existing lenders. The multiplexer may make a note of how much data has been transferred from the unavailable lender in order to make a determination as to how much data remains to be transferred. The flow will then return to step 209.

As a further option, the multiplexer may perform another broadcast, at step 313, to identify new lenders to add to the table to replace the deleted lender. This can be performed by reverting back to step 206, at which stage the allocations of bandwidth can be determined between current lenders and/or potential new lenders.

At step 315, a determination is made as to whether the lenders are meeting their QoS objectives. If so, the process continues at step 317. At step 317, a determination is made as to whether the download is complete. If not, the process reverts back to step 307. If the download is complete, the process ends at step 318.

If the determination at step 315 is made that the lender(s) is not meeting their QoS objectives, the process continues to steps 316 or 320. That is, in the event that the lender is not performing at an initially agreed upon service level objective (i.e., the quality of current service drops lower than the service level objectives), the multiplexer may wish to stop using the under-performing lender or renegotiate the compensation given to the lender for the bandwidth.

As an example, if the current quality of service drops below the service level objectives, the multiplexer may introduce a different charging plan (price) for the under-performing lender (step 316), or stop using the under-performing lender (step 320) and revise the request to the other lenders to continue the download of data, including the data which was previously being downloaded by the unavailable lender (step 312), rebroadcast the table to find a different lender (step 313), continue the download with the remaining lenders currently in the bandwidth-sharing ad hoc network (step 312), or some combination of these options, as set forth in more detail below. At any of these steps, in embodiments, the multiplexer may make a note of how much data has been transferred from the under-performing lender and determine how much data still remains to be transferred.

Multiplexer(s) not in the Ad Hoc Network

FIG. 7 shows a flow chart for forming and rearranging a bandwidth-sharing ad hoc network in a multiplexed environment. In this embodiment, the multiplexer is not within the ad hoc network. For example, the multiplexer may be an online multiplexing service. In this scenario, the borrower may have a predefined list of multiplexers which may include, for example, a list of multiplexing websites, or DNS locations of known multiplexers. Additionally, the borrower may have icon shortcut links on their device to connect them to the multiplexer service.

At step 400, the borrower may complete the table portions as discussed above. At step 401, the borrower sends this partially completed table as a broadcast to any available nodes within range that could be considered as potential lenders in the ad hoc network. At step 402, a node receives the broadcast, including the table. At step 403, the potential lenders may complete the necessary information. At step 404, potential lenders may send back this information the borrower.

In this scenario, the multiplexer is not within the ad hoc network and cannot respond to the borrower's broadcast request. Instead, the borrower determines the potential lenders of bandwidth within the local ad hoc network, and, at step 405, transmits this information to a multiplexer. At step 406, the multiplexer may decide which lenders to use in the ad hoc network. At step 407, the multiplexer may initiate the download, by sending a table to each of the lenders, assigning a portion of the file to be downloaded to each lender, and instructing each of lenders to send the download to the borrower.

As with the previous scenario, if the quality of service does not meet the service level objective, it is the responsibility of the multiplexer, not the borrower, to fix the problem. At step 408, the lenders may receive the table and start to execute the command and begin to transmit the data. The lenders may also periodically send QoS update information to the multiplexer. In one example, Lender 1 may start to download the first ⅓ of file ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network. Lender 2 may start to download the last ⅔ of ‘myfile’ from the location, and transfer the data to Borrower 1, via the ad hoc network.

As to the QoS update information, the lenders, on a scheduled basis (e.g., once every 10 seconds) may send update information to the multiplexer with progress information such that the “Current Quality of Service” column may be updated. The scheduled basis for the QoS update information may be configurable to different interval times. This QoS update information may include a current download rate (e.g., currently 1.3 kb/second) and a current download progress (e.g., the requested download is 65% complete). Using the update information in the Current Quality of Service column, Multiplexer 1 may make a determination as to how well a particular lender is performing.

In the event that the multiplexer does not receive QoS update information (or data transfer) at the scheduled time, at step 409, the multiplexer may perform one of the following options:

-   -   1. wait a predetermined amount of time (grace period) (step         509);     -   2. send a message to the lender to determine their availability         (step 510), (e.g., “Are you still there? Please check-in.”); or     -   3. determine that the lender is unavailable at step 511, at         which stage, the process may continue to step 512.         Optionally, the process may wait a grace period, and upon         expiration of the grace period, continue with step 510 or         declare that the lender is unavailable at step 511. In the event         that the QoS update information (or data transfer) restarts         during the grace period or after prompting from the Multiplexer         at step 510, the process will continue at step 515.

In the examples provided, if the lender is unavailable at step 510, the borrower may remove the unavailable lender from the table, at step 511, and revise the “File Requested for Download” column for one of the other lenders at step 512. This may include requesting additional data from the existing lenders. The Multiplexer may make a note of how much data has been transferred from the unavailable lender in order to make a determination as to how much data remains to be transferred. The flow will then return to step 406.

As a further option, the Multiplexer may request that the borrower perform another broadcast, at step 513, to identify new lenders to add to the table to replace the deleted lender. This can be performed by reverting back to step 401, at which stages the allocations of bandwidth can be determined between current lenders and/or potential new lenders.

At step 515, a determination is made as to whether the lenders are meeting their QoS objectives. If so, the process continues at step 517. At step 517, a determination is made as to whether the download is complete. If not, the process reverts back to step 408. If the download is complete, the process ends at step 518.

If the determination at step 515 is made that the lender(s) is not meeting their QoS objectives, the process continues to steps 516 or 520. That is, in the event that the lender is not performing at an initially agreed upon service level objective (i.e., the quality of current service drops lower than the service level objectives), the multiplexer may wish to stop using the under-performing lender or renegotiate the compensation given to the lender for the bandwidth. So, as an example, if the current quality of service drops below the service level objectives, the multiplexer may introduce a different charging plan (price) for the under-performing lender (step 516), or stop using the under-performing lender (step 520) and revise the request to the other lenders to continue the download of data, including the data which was previously being downloaded by the unavailable lender (step 512), request that the borrower rebroadcast the table to find a different lender (step 513), or some combination of these options, as set forth in more detail below. At any of these steps, in embodiments, the multiplexer may make a note of how much data has been transferred from the under-performing lender and determine how much data still remains to be transferred.

FIG. 8 shows a user interface 700 for the formation and rearrangement of a bandwidth-sharing ad hoc network. As shown in FIG. 8, a borrower's device may have icons or buttons 701, 702 and 703. These icons or buttons allow the borrower to quickly choose from alternative priorities for creating the ad hoc network, e.g., fastest 701, cheapest 702, best quality 703 (highest reliability). As should be understood by those of skill in the art, the alternative options may be provided by algorithms which are designed to select the appropriate lenders based on the selected priorities. For example the algorithm for fastest would select the lenders with the fastest bandwidth; whereas, the best quality may include the lender with the best connection (e.g., a Wi-Fi connection may be better than a Bluetooth® connection) or a guaranteed duration of availability (e.g., a node who promises be a lender in the ad hoc network for the next two hours).

Additionally, the user interface 700 may include “detail” buttons 704 that allow the user to view detailed information about a particular node. This information may be, for example, any information that was populated in the above tables. More specifically, the interface may contain columns for time required for a particular lender (or combination of lenders or multiplexer) 705, cost of the lender 706, or quality of service (QoS) of the lender 707.

Alternate Embodiments

In aspects of the invention, the borrower may not be limited to using a multiplexer within the ad hoc network or a multiplexer service, but may broadcast for multiplexers within the ad hoc network, while at the same time connecting with known multiplexer services not in the ad hoc network. The borrower may compare options between multiple multiplexers and decide which is the best option based on the borrower's priorities. Additionally, the best option may be a combination utilizing different multiplexers and/or different types of multiplexers. Furthermore, when broadcasting a need to borrow bandwidth, a member of the ad hoc network may respond by informing the borrower of and/or directing the borrower to a multiplexer service not within the ad hoc network.

In further aspects of the invention, a particular node in an ad hoc network may desire to control when they receive broadcasted requests to be a lender of bandwidth. For example, the node may be uninterested in acting as a lender, and may wish to never receive broadcasted requests to be a lender of bandwidth. In this situation, the node may stop the broadcasted requests from being received by their device, or stop the requests from causing a prompting on their device to share bandwidth. Alternatively, a member of an ad hoc network may want to only receive requests for lending bandwidth when they have a minimum bandwidth for themselves. Additionally, a member of an ad hoc network may want to only receive requests for lending bandwidth when their net borrowing/lending ratio is high (i.e., they have recently been borrowing a lot more then lending).

In still further aspects of the invention, a borrower of bandwidth may have predetermined rules established for deciding which lenders to use in the bandwidth-sharing ad hoc network. For example, the borrower may prefer the cheapest option, with less concern for the download speed of the lender, or the reliability of the lender. Alternatively, the borrower may prefer the fastest option, with less concern for the price the lender is charging, or the reliability of the lender. Then again, the borrower may prefer the most reliable lender, with less concern for the price the lender is charging, or the download speed of the lender.

While the invention has been described in terms of embodiments, those skilled in the art will recognize that the invention can be practiced with modifications and in the spirit and scope of the appended claims. 

What is claimed is:
 1. A method for forming and rearranging a bandwidth sharing ad hoc network for data transfer among mobile computing devices, comprising providing a computer infrastructure being operable to: broadcast a table to at least one potential bandwidth lender requesting pertinent lender information; receive the table from the at least one potential bandwidth lender with the pertinent lender information; upon receiving the table, select one or more bandwidth lenders of the at least one potential bandwidth lender based on the pertinent lender information in the table meeting preset criteria; establish a bandwidth sharing ad hoc network with the one or more bandwidth lenders based on the selecting; and waiting a predetermined amount of time (grace period) for quality of service (QoS) update information from the at least one bandwidth lender, wherein the bandwidth sharing ad hoc network is a communication network amongst a mobile computing device of the one or more bandwidth lenders and a mobile computing device of a bandwidth borrower, in which the one or more bandwidth lenders selectively lends bandwidth to the bandwidth borrower for downloading data or uploading data.
 2. The method of claim 1, wherein the table includes all of: node name, node type, location, file requested for transfer, and price.
 3. The method of claim 1, further comprising selecting the at least one bandwidth lender for the bandwidth sharing ad hoc network based on reliability.
 4. The method of claim 1, further comprising selecting the at least one bandwidth lender for the bandwidth sharing ad hoc network based on speed.
 5. The method of claim 1, further comprising selecting the at least one bandwidth lender for the bandwidth sharing ad hoc network based on availability.
 6. The method of claim 1, further comprising selecting the at least one bandwidth lender for the bandwidth sharing ad hoc network based on cost.
 7. The method of claim 1, further comprising sending a message to the at least one bandwidth lender to determine availability.
 8. The method of claim 1, further comprising determining that at least one of the at least one bandwidth lender is unavailable.
 9. The method of claim 1, further comprising removing an unavailable bandwidth lender from the table and one of: requesting additional transfer of data from existing bandwidth lenders and performing a broadcast to identify new bandwidth lenders to add to the table.
 10. The method of claim 1, further comprising determining that the at least one bandwidth lender is not meeting QoS objectives.
 11. The method of claim 10, further comprising ceasing using the determined at least one bandwidth lender that is not meeting QoS objectives.
 12. The method of claim 10, further comprising renegotiating compensation given to the determined at least one bandwidth lender that is not meeting QoS objectives.
 13. The method of claim 1, wherein the bandwidth borrower performs the broadcasting the table, the receiving the table, the selecting the at least one bandwidth lender, and the establishing the ad hoc network.
 14. The method of claim 1, wherein the establishing the ad hoc network comprises forming the bandwidth sharing ad hoc network between mobile computing devices of the bandwidth borrower and the at least one bandwidth lender in a peer to peer environment.
 15. A method for forming and rearranging a bandwidth sharing ad hoc network for data transfer among mobile computing devices, comprising providing a computer infrastructure being operable to: broadcast a table to at least one potential bandwidth lender requesting pertinent lender information; receive the table from the at least one potential bandwidth lender with the pertinent lender information; select one or more bandwidth lenders of the at least one potential bandwidth lender which meet preset criteria; and establish a bandwidth sharing ad hoc network with the one or more bandwidth lenders based on the selecting, wherein the bandwidth sharing ad hoc network is a communication network amongst a mobile computing device of the one or more bandwidth lenders and a mobile computing device of a bandwidth borrower, in which the one or more bandwidth lenders selectively lends bandwidth to the bandwidth borrower for downloading data or uploading data, further comprising receiving a portion of a file identified in the table from the at least one bandwidth lender via the bandwidth sharing ad hoc network; and waiting a predetermined amount of time (grace period) for quality of service (QoS) update information from the at least one bandwidth lender.
 16. The method of claim 1, wherein the bandwidth-sharing ad hoc network is configured such that a borrower computer device communicates with a lender computer device via local wireless communication protocol, and the lender computer device communicates with a remote location on behalf of the borrower computer device to create a virtual fat pipe for the borrower computer device for transmission of data over a network.
 17. The method of claim 1, wherein a multiplexer performs the broadcasting the table, the receiving the table, the selecting the at least one bandwidth lender, and the establishing the ad hoc network.
 18. The method of claim 1, wherein at least a portion of the table is displayed on the mobile computing device of the bandwidth borrower. 